package com.ouheng.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.dao.ShareSetDao;
import com.ouheng.shop.domain.ShareSetDO;
import com.ouheng.shop.service.ShareSetService;



@Service
public class ShareSetServiceImpl implements ShareSetService {
	@Autowired
	private ShareSetDao shareSetDao;
	
	@Override
	public ShareSetDO get(Long id){
		return shareSetDao.get(id);
	}
	
	@Override
	public List<ShareSetDO> list(Map<String, Object> map){
		return shareSetDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shareSetDao.count(map);
	}
	
	@Override
	public int save(ShareSetDO shareSet){
		return shareSetDao.save(shareSet);
	}
	
	@Override
	public int update(ShareSetDO shareSet){
		return shareSetDao.update(shareSet);
	}
	
	@Override
	public int remove(Long id){
		return shareSetDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return shareSetDao.batchRemove(ids);
	}
	
}
